
<script>
	$.get( "http://estudiahapid.ap01.aws.af.cm/services/getprofil.php?username=" + localStorage.getItem("estudia_user"), function(data){
		var result = JSON.parse(data);
		if(result["status"] == "empty") {
		
		} else {

			$("#profile_username").append("<h2> : " + localStorage.getItem("estudia_user") + "</h2>");
			$("#profile_name").append("<h2> : " + result["profile_fullname"] + "</h2>");
			$("#profile_email").append("<h2> : " + result["profile_email"] + "</h2>");
			$("#profile_class").append("<h2> : " + result["profile_grade"] + "</h2>");
				
		}
	}); // */
	
</script>

<div id="title"><h1>Profil Kamu</h1></div>

<div id="profile_container"> 
	<div id="profile_left">
		<h2># Username</h2>
		<h2># Nama Lengkap</h2>
		<h2># Email</h2>
		<h2># Kelas</h2>
	</div>
	
	<div id="profile_right">
		<div id="profile_username"></div>
		<div id="profile_name"></div>
		<div id="profile_email"></div>
		<div id="profile_class"></div>
	</div>	
</div>
